#ifndef FILE_COMMON_H_
#define FILE_COMMON_H_

#define DIRECTORY_TYPE	0
#define FILE_TYPE	1
#define FIFO_TYPE	2

#define O_CREATE 1
#define O_EXCL 2
#define O_RD 4
#define O_WR 8

#define SECTOR_SIZE 512
#define NAME_MAX_LENGTH 10
#define FILE_NAME 50

#define MAX_FILES 500
#define SECTOR_SIZE 512
#define FILE_NAME 50
#define MAX_PATH 150
#define NAME_MAX_LENGTH 10

#define	RW	2
#define	OR	1
#define	NRW	0

#ifndef FILEINFO
#define FILEINFO

typedef struct{
	unsigned int type;
	short int mode;
	char owner[NAME_MAX_LENGTH];
	char group[NAME_MAX_LENGTH];
} File_info;

#endif
#endif
